Termination of Non-simple Rewrite Systems

نویسندگان

  • CHARLES GLEN HOOT
  • Charles Glen Hoot
چکیده

Rewriting is a computational process in which one term is derived from another by replacing a subterm with another subterm in accordance with a set of rules. If such a set of rules (rewrite system) has the property that no derivation can continue indefinitely, it is said to be terminating. Showing termination is an important component of theorem proving and of great interest in programming languages. Two methods of showing termination for rewrite systems that are self-embedding are presented. These "non-simple" rewrite systems can not be shown terminating by any of what are called simplification orderings. The first method of termination employs lexicographic combinations of quasi-orderings including the ordering itself applied to multisets of immediate subterms in a general path ordering. Two versions are presented. The well-founded and well-quasi general path orderings respectively require their component orderings to be well-founded and well-quasi orderings. The definitions are shown to result in well-founded and well-quasi orderings, respectively. A general condition is presented for showing termination of a rewrite system with a quasi-ordering. Conditions on the component orderings are presented which guarantee that the general conditions are satisfied. The well-quasi general path ordering is applied to several examples to show termination. The second method of showing termination is to use sets of derivations called the "forward closures" of a rewrite system. New results are derived that give syntactic conditions under which termination of the forward closures guarantees termination of the rewrite system. A HI theorem is presented that shows the relationship of forward closures with innermost rewriting. If there is a class of rewrite systems for which innermost rewriting implies termination, then termination of forward closures will imply termination as well. Restricting the set of forward closures to derivations which satisfy some strategy such as choosing an innermost redex is explored. Syntactic conditions are given for which termination of innermost or outermost forward closures implies termination in general. The method of forward closures is then used to show the termination of some example rewrite systems including the string rewriting system 0011-+ 111000. A test for non-termination of a rewrite system using forward closures (FCT) is presented. A previous method (MSP) using semi-unification is analyzed and it is shown that certain kinds of rewrite rules may be ignored without affecting the ability of MSP to detect non-termination. Using this result one can also show that FCT will detect non-termination in every case that MSP …

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Transformation techniques for context-sensitive rewrite systems

Context-sensitive rewriting is a computational restriction of term rewriting used to model non-strict (lazy) evaluation in functional programming. The goal of this paper is the study and development of techniques to analyze the termination behavior of context-sensitive rewrite systems. For that purpose, several methods have been proposed in the literature which transform contextsensitive rewrit...

متن کامل

Transforming Context - Sensitive RewriteSystemsJ

We present two new transformation techniques for proving termination of context-sensitive rewriting. Our rst method is simple, sound, and more powerful than previously suggested transformations. However, it is not complete, i.e., there are terminating context-sensitive rewrite systems that are transformed into non-terminating term rewrite systems. The second method that we present in this paper...

متن کامل

Termination of Non-simple Rewrite Systems by Charles

Rewriting is a computational process in which one term is derived from another by replacing a subterm with another subterm in accordance with a set of rules. If such a set of rules rewrite system has the property that no derivation can continue indeenitely, it is said to be terminating. Showing termination is an important component of theorem proving and of great interest in programming languag...

متن کامل

Transforming Context-Sensitive Rewrite Systems

We present two new transformation techniques for proving termination of context-sensitive rewriting. Our rst method is simple, sound, and more powerful than previously suggested transformations. However, it is not complete, i.e., there are terminating context-sensitive rewrite systems that are transformed into non-terminating term rewrite systems. The second method that we present in this paper...

متن کامل

On Dependency Pair Method for Proving Termination of Higher-Order Rewrite Systems

This paper explores how to extend the dependency pair technique for proving termination of higher-order rewrite systems. In the first order case, the termination of term rewriting systems are proved by showing the non-existence of an infinite R-chain of the dependency pairs. However, the termination and the non-existence of an infinite R-chain do not coincide in the higher-order case. We introd...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2012